#!/bin/sh

[ -z "$1" -o -z "$2" ] && \
		echo 'Modo de uso: copyCasJars.sh /opt/cas-client/modules /opt/tomcat/lib' >&2 && \
		exit 1

LIST="cas-client-core-3.2.1.jar
		cas-client-integration-tomcat-common-3.2.1.jar
		cas-client-integration-tomcat-v7-3.2.1.jar
		commons-codec-1.4.jar
		commons-logging-1.1.jar
		xmlsec-1.3.0.jar"

for FILE in $LIST
do
	cp $1/$FILE $2
done
